public class text {
    public static void main(String[] args) {
        UITeacher a = new UITeacher();
        a.setName("小红");
        a.setAge(24);
        a.setSex("女");
        a.work();
        a.draw();
        System.out.println(a);
        javaTeacher b = new javaTeacher();
        b.setName("小明");
        b.setAge(21);
        b.setSex("男");
        b.work();
        System.out.println(b);
    }
}
